package com.xin.springclouduser.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xin.springclouduser.utils.serializer.Date2LongSerializer;
import lombok.Data;

import java.util.Date;
@Data
public class UserDTO {

    private String id;

    private String nickname;

    private String phone;

    private String password;

    private String headImage;

    private String desction;  //描述
    @JsonSerialize(using = Date2LongSerializer.class)
    private Date createTime;
    @JsonSerialize(using = Date2LongSerializer.class)
    private Date updateTime;
}
